package com.project.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.Api;
import lombok.Data;

import java.time.LocalDate;

@Data
@TableName("t_log")
@Api("日志")
public class LogBean {
    @TableId("pk_logId")
    private long logId;
    @TableField("logDate")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate logDate;
    @TableField("logContent")
    private String logContent;
}
